package com.ruoyi.inspection.service;


import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.inspection.domain.GovernHiddenInventory;

import java.util.List;

/**
 * 专项检查隐患信息表(GovernHiddenInventory)表服务接口
 *
 * @author makejava
 * @since 2024-07-30 11:37:40
 */
public interface GovernHiddenInventoryService {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    GovernHiddenInventory queryById(Integer id);

    /**
     * 查隐患
     * @param governHiddenInventory 筛选条件
     * @return 查询结果
     */
    GovernHiddenInventory queryByInventory(GovernHiddenInventory governHiddenInventory);

    /**
     * 分页查询
     *
     * @param governHiddenInventory 筛选条件
     * @return 查询结果
     */
    List<GovernHiddenInventory> queryByPage(GovernHiddenInventory governHiddenInventory);

    /**
     * 新增数据
     *
     * @param governHiddenInventory 实例对象
     * @return 实例对象
     */
    GovernHiddenInventory insert(GovernHiddenInventory governHiddenInventory);

    /**
     * 修改数据
     *
     * @param governHiddenInventory 实例对象
     * @return 实例对象
     */
    GovernHiddenInventory update(GovernHiddenInventory governHiddenInventory);

    /**
     * 通过主键删除数据
     *
     * @param id 主键
     * @return 是否成功
     */
    boolean deleteById(Integer id);

    void confirm(GovernHiddenInventory governHiddenInventory, LoginUser user);

    void repair(GovernHiddenInventory governHiddenInventory, LoginUser user);

    void review(GovernHiddenInventory governHiddenInventory, LoginUser user);

    void upload(Long[] hiddenInventoryIds);
}
